<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		 
			
  
    <meta name="twitter:card" content="summary"/>
    
      <meta name="twitter:image" content="https://www.samrainhan.com/images/avatar.png" />
    
  
  
  <meta name="twitter:title" content="tsunamid帮助"/>
  <meta name="twitter:description" content="tsunamid帮助 Settings in the Tsunami Client $ tsunami Tsunami Client for protocol rev 20061025 Revision: v1.1 devel cvsbuild 31 Compiled: Dec 15 2006 14:57:59 tsunami&gt; set server = localhost -- to which currently connected port = 46224 -- TCP control port on server udpport = 46224 -- UDP receiving port on client to use buffer = 20000000 -- size of the"/>
  
  
  
  
    <meta name="twitter:creator" content="@韩雨"/>
  



		
		<meta name="author" content="韩雨">
		<meta name="description" content="学习 &amp;nbsp;&amp;bull;&amp;nbsp; 生活">
		<meta name="generator" content="Hugo 0.52" />
		<title>tsunamid帮助 &middot; sam的小窝</title>
		<link rel="shortcut icon" href="https://www.samrainhan.com/images/favicon.ico">
		<link rel="stylesheet" href="https://www.samrainhan.com/css/style.css">
		<link rel="stylesheet" href="https://www.samrainhan.com/css/highlight.css">

		
		<link rel="stylesheet" href="https://www.samrainhan.com/css/font-awesome.min.css">
		

		
		<link href="https://www.samrainhan.com/index.xml" rel="alternate" type="application/rss+xml" title="sam的小窝" />
		

		
	</head>

    <body>
       <nav class="main-nav">
	
	
		<a href='https://www.samrainhan.com/'> <span class="arrow">←</span>Home</a>
	
	<a href='https://www.samrainhan.com/posts'>Archive</a>
	<a href='https://www.samrainhan.com/tags'>Tags</a>
	<a href='https://www.samrainhan.com/about'>About</a>

	

	
	<a class="cta" href="https://www.samrainhan.com/index.xml">Subscribe</a>
	
</nav>


        <section id="wrapper" class="post">
            <article>
                <header>
                    <h1>
                        tsunamid帮助
                    </h1>
                    <h2 class="headline">
                    Apr 8, 2016 00:00
                    · 711 words
                    · 2 minute read
                      <span class="tags">
                      
                      
                          
                              <a href="https://www.samrainhan.com/tags/tsunamid">tsunamid</a>
                          
                      
                      
                      </span>
                    </h2>
                </header>
                
                  
                    <div id="toc">
                      <nav id="TableOfContents">
<ul>
<li><a href="#tsunamid帮助-a-id-sec-6-name-sec-6-a">tsunamid帮助<a id="sec-6" name="sec-6"></a></a>
<ul>
<li><a href="#settings-in-the-tsunami-client-a-id-sec-6-1-name-sec-6-1-a">Settings in the Tsunami Client<a id="sec-6-1" name="sec-6-1"></a></a></li>
<li><a href="#settings-in-the-tsunami-server-a-id-sec-6-2-name-sec-6-2-a">Settings in the Tsunami Server<a id="sec-6-2" name="sec-6-2"></a></a></li>
</ul></li>
</ul>
</nav>
                    </div>
                  
                
                <section id="post-body">
                    

<h1 id="tsunamid帮助-a-id-sec-6-name-sec-6-a">tsunamid帮助<a id="sec-6" name="sec-6"></a></h1>

<h2 id="settings-in-the-tsunami-client-a-id-sec-6-1-name-sec-6-1-a">Settings in the Tsunami Client<a id="sec-6-1" name="sec-6-1"></a></h2>

<pre><code>$ tsunami
Tsunami Client for protocol rev 20061025
Revision: v1.1 devel cvsbuild 31
Compiled: Dec 15 2006 14:57:59

tsunami&gt; set
server = localhost -- to which currently connected
port = 46224 -- TCP control port on server
udpport = 46224 -- UDP receiving port on client to use
buffer = 20000000 -- size of the ring buffer in RAM in bytes
blocksize = 32768 -- how large UDP blocks to use
verbose = yes -- give a bit more output
transcript = no -- 'yes' to write all screen output to a transcript file,
file naming is automatic in &quot;2006-12-15-13-21-41.tsuc&quot; style
ip = v4 -- use ip version 'v4' or 'v6'
output = line -- output statistics mode is 'line' for scrolling
statistics, or 'screen' for a single updating page
rate = 650000000 -- the target transfer rate (you may use 'm','M','g','G' so
for example '128M' or '1G')
error = 7.50% -- maximum error rate to maintain by rate throttling
slowdown = 25/24 -- how fast to start throttling the rate
speedup = 5/6 -- how fast to recover and move up towards target rate again
history = 25% -- weighting of past error rates in the throttling algorithm
lossless = yes -- change to 'no' to allow data loss e.g. rate priority transfers
losswindow = 1000 msec -- used if lossless='no', sets how old missing data should still be 
requested again. If too old, data is considered lost.
blockdump = no -- 'yes' to write a block bitmap dump to a file, shows
packets that were not received as bit value 0,
file format is 4 bytes (long) contains number of blocks (bits),
followed by number of block count of bits, and two extra bytes
that may be ignored
passphrase = default -- specify a different non-default passphrase for login to the server
</code></pre>

<h2 id="settings-in-the-tsunami-server-a-id-sec-6-2-name-sec-6-2-a">Settings in the Tsunami Server<a id="sec-6-2" name="sec-6-2"></a></h2>

<pre><code>$ tsunamid --help
Usage: tsunamid [--verbose] [--transcript] [--v6] [--port=n] [--datagram=bytes] [--buffer=bytes]
[--hbtimeout=seconds] [filename1 filename2 ...]

verbose or v : turns on verbose output mode 打开详细输出模式
transcript : turns on transcript mode for statistics recording 打开统计模式
v6 : operates using IPv6 instead of (not in addition to!) IPv4 使用IPV6协议
port : specifies which TCP port on which to listen to incoming connections 指定哪个端口监听
secret : specifies the shared secret for the client and server 指定客户端和服务端的共享秘钥
client : specifies an alternate client IP or host where to send data 指定允许发送数据的客户端IP地址或host名称
datagram : specifies the desired datagram size (in bytes) 
buffer : specifies the desired size for UDP socket send buffer (in bytes) 指定UDP套接字发送缓冲区所需的大小（以字节为单位）
hbtimeout : specifies the timeout in seconds for disconnect after client heartbeat lost 指定探查不到客户端心跳的超时时间
finishhook : run command on transfer completion, file name is appended automatically 在传输结束时执行命令,文件名会自动追加到命令上.
allhook : run command on 'get *' to produce a custom file list for client downloads 在&quot;get *&quot;时执行命令产生一个自定义文件清单供客户端下载用
filenames : list of files to share for downloaded via a client 'GET *' 客户端执行&quot;GET *&quot;时列出能够被下载的文件清单


Defaults: verbose = 1
transcript = 0
v6 = 0
port = 46224
buffer = 20000000 bytes
hbtimeout = 15 seconds
</code></pre>

                </section>
            </article>

            
                <a class="twitter" href="https://twitter.com/intent/tweet?text=https%3a%2f%2fwww.samrainhan.com%2fposts%2f2016-04-08-help-of-tsunamid%2f - tsunamid%e5%b8%ae%e5%8a%a9 "><span class="icon-twitter"> tweet</span></a>

<a class="facebook" href="#" onclick="
    window.open(
      'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),
      'facebook-share-dialog',
      'width=626,height=436');
    return false;"><span class="icon-facebook-rect"> Share</span>
</a>

            

            
                <div id="disqus_thread"></div>
<script type="text/javascript">
    var disqus_shortname = 'samrainblogbygithub'; 

     
    (function() {
        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
        dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>

            

            
                <ul id="post-list" class="archive readmore">
    <h3>Read more</h3>

    
    
    
        <li>
            <a href="/posts/2019-04-26-c9-move-to-aws-c9/">Cloud9 Move to Aws C9<aside class="dates">Apr 26 2019</aside></a>
        </li>
    
        <li>
            <a href="/posts/2019-02-16-why-build-blog-with-cloud9/">2019 02 16 Why Build Blog With Cloud9<aside class="dates">Feb 16 2019</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-sports-stretching-best-practices/">运动拉伸最佳实践<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-add-2-files-to-tempdb-for-caching/">给tempdb加2个文件做缓存<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-look-for-sql-server-tables-without-a-clustered-index/">如何找到没有聚集索引的表<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-the-continuous-delivery-maturity-model/">持续实施成熟度模型<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-map-of-continuous-delivery/">持续发布的各个阶段<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-how-dropbox-securely-stores-your-passwords/">Dropbox的用户密码加密机制<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-code-inspection-tool-for-net/">NET代码检查工具<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
        <li>
            <a href="/posts/2018-09-12-how-to-make-unique-id/">怎样生成唯一ID<aside class="dates">Sep 12 2018</aside></a>
        </li>
    
</ul>

            

            <footer id="footer">
    
        <div id="social">

	
	
    <a class="symbol" href="">
        <i class="fa fa-facebook-square"></i>
    </a>
    
    <a class="symbol" href="https://github.com/samrain">
        <i class="fa fa-github-square"></i>
    </a>
    
    <a class="symbol" href="">
        <i class="fa fa-twitter-square"></i>
    </a>
    


</div>

    
    <p class="small">
    
       © Copyright 2019 <i class="fa fa-heart" aria-hidden="true"></i> 韩雨
    
    </p>
    <p class="small">
        Powered by <a href="http://www.gohugo.io/">Hugo</a> Theme By <a href="https://github.com/nodejh/hugo-theme-cactus-plus">nodejh</a>
    </p>
</footer>

        </section>

        <script src="https://www.samrainhan.com/js/jquery-3.3.1.min.js"></script>
<script src="https://www.samrainhan.com/js/main.js"></script>
<script src="https://www.samrainhan.com/js/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>




  
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
	ga('create', 'UA-37708730-1', 'auto');
	
	ga('send', 'pageview');
}
</script>





    </body>
</html>
